#include "mainwindow.h"
#include "./ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButtonOpenCan_clicked()
{
    // qstupinfo = new Qsetupinfo();
    // qstupinfo->show();
    CanSettings *instance = CanSettings::getInstance();
    instance->show();
}


void MainWindow::on_pushButtonOpenCan_2_clicked()
{
    CanSettings *instace2 = CanSettings::getInstance();
    instace2->show();
}

